# -*- mode: snippet -*-
# name: read tsv
# key: read_tsv
# key: tsv_read
# contributor: Shuguang Sun
# --
with open(${1:filename}, 'r') as rf:
    reader = csv.reader(rf, delimiter=${2:"\t"})

    for row in reader:
        $0